// Copyright 2011 Google Inc. All Rights Reserved.

// This file was generated from .js source files by GYP.  If you
// want to make changes to this file you should either change the
// javascript source files or the GYP script.

#include "v8.h"
#include "../../v8_5_7/src/snapshot/natives.h"
#include "../../v8_5_7/src/utils.h"

namespace v8 {
namespace internal {

  static const char sources[] = { 10, 40, 102, 117, 110, 99, 116, 105, 111, 110, 40, 41, 123, 10, 34, 117, 115,
101, 32, 115, 116, 114, 105, 99, 116, 34, 59, 10, 118, 97, 114, 32, 97, 61, 52,
59, 10, 102, 117, 110, 99, 116, 105, 111, 110, 32, 105, 115, 80, 114, 111, 120,
121, 40, 98, 41, 123, 114, 101, 116, 117, 114, 110, 32, 102, 97, 108, 115, 101,
125, 59, 10, 102, 117, 110, 99, 116, 105, 111, 110, 32, 74, 83, 80, 114, 111,
120, 121, 71, 101, 116, 84, 97, 114, 103, 101, 116, 40, 99, 41, 123, 125, 59,
10, 102, 117, 110, 99, 116, 105, 111, 110, 32, 74, 83, 80, 114, 111, 120, 121,
71, 101, 116, 72, 97, 110, 100, 108, 101, 114, 40, 99, 41, 123, 125, 59, 10,
116, 114, 121, 123, 10, 105, 115, 80, 114, 111, 120, 121, 61, 70, 117, 110, 99,
116, 105, 111, 110, 40, 91, 39, 111, 98, 106, 101, 99, 116, 39, 93, 44, 39, 114,
101, 116, 117, 114, 110, 32, 37, 95, 73, 115, 74, 83, 80, 114, 111, 120, 121,
40, 111, 98, 106, 101, 99, 116, 41, 39, 41, 59, 10, 74, 83, 80, 114, 111, 120,
121, 71, 101, 116, 84, 97, 114, 103, 101, 116, 61, 70, 117, 110, 99, 116, 105,
111, 110, 40, 91, 39, 112, 114, 111, 120, 121, 39, 93, 44, 10, 39, 114, 101,
116, 117, 114, 110, 32, 37, 74, 83, 80, 114, 111, 120, 121, 71, 101, 116, 84,
97, 114, 103, 101, 116, 40, 112, 114, 111, 120, 121, 41, 39, 41, 59, 10, 74, 83,
80, 114, 111, 120, 121, 71, 101, 116, 72, 97, 110, 100, 108, 101, 114, 61, 70,
117, 110, 99, 116, 105, 111, 110, 40, 91, 39, 112, 114, 111, 120, 121, 39, 93,
44, 10, 39, 114, 101, 116, 117, 114, 110, 32, 37, 74, 83, 80, 114, 111, 120,
121, 71, 101, 116, 72, 97, 110, 100, 108, 101, 114, 40, 112, 114, 111, 120, 121,
41, 39, 41, 59, 10, 125, 99, 97, 116, 99, 104, 40, 101, 41, 123, 125, 59, 10,
102, 117, 110, 99, 116, 105, 111, 110, 32, 83, 116, 114, 105, 110, 103, 105,
102, 121, 40, 100, 44, 101, 41, 123, 10, 105, 102, 40, 101, 61, 61, 61, 117,
110, 100, 101, 102, 105, 110, 101, 100, 41, 10, 101, 61, 97, 59, 10, 101, 108,
115, 101, 32, 105, 102, 40, 101, 61, 61, 61, 48, 41, 10, 114, 101, 116, 117,
114, 110, 34, 46, 46, 46, 34, 59, 10, 105, 102, 40, 105, 115, 80, 114, 111, 120,
121, 40, 100, 41, 41, 123, 10, 114, 101, 116, 117, 114, 110, 32, 83, 116, 114,
105, 110, 103, 105, 102, 121, 80, 114, 111, 120, 121, 40, 100, 44, 101, 41, 59,
10, 125, 10, 115, 119, 105, 116, 99, 104, 40, 116, 121, 112, 101, 111, 102, 32,
100, 41, 123, 10, 99, 97, 115, 101, 34, 117, 110, 100, 101, 102, 105, 110, 101,
100, 34, 58, 10, 114, 101, 116, 117, 114, 110, 34, 117, 110, 100, 101, 102, 105,
110, 101, 100, 34, 59, 10, 99, 97, 115, 101, 34, 98, 111, 111, 108, 101, 97,
110, 34, 58, 10, 99, 97, 115, 101, 34, 110, 117, 109, 98, 101, 114, 34, 58, 10,
99, 97, 115, 101, 34, 102, 117, 110, 99, 116, 105, 111, 110, 34, 58, 10, 114,
101, 116, 117, 114, 110, 32, 100, 46, 116, 111, 83, 116, 114, 105, 110, 103, 40,
41, 59, 10, 99, 97, 115, 101, 34, 115, 116, 114, 105, 110, 103, 34, 58, 10, 114,
101, 116, 117, 114, 110, 34, 92, 34, 34, 43, 100, 46, 116, 111, 83, 116, 114,
105, 110, 103, 40, 41, 43, 34, 92, 34, 34, 59, 10, 99, 97, 115, 101, 34, 115,
121, 109, 98, 111, 108, 34, 58, 10, 114, 101, 116, 117, 114, 110, 32, 100, 46,
116, 111, 83, 116, 114, 105, 110, 103, 40, 41, 59, 10, 99, 97, 115, 101, 34,
111, 98, 106, 101, 99, 116, 34, 58, 10, 105, 102, 40, 40, 100, 61, 61, 61, 110,
117, 108, 108, 41, 41, 114, 101, 116, 117, 114, 110, 34, 110, 117, 108, 108, 34,
59, 10, 105, 102, 40, 100, 46, 99, 111, 110, 115, 116, 114, 117, 99, 116, 111,
114, 38, 38, 100, 46, 99, 111, 110, 115, 116, 114, 117, 99, 116, 111, 114, 46,
110, 97, 109, 101, 61, 61, 61, 34, 65, 114, 114, 97, 121, 34, 41, 123, 10, 118,
97, 114, 32, 102, 61, 91, 93, 59, 10, 102, 111, 114, 40, 118, 97, 114, 32, 103,
61, 48, 59, 103, 60, 100, 46, 108, 101, 110, 103, 116, 104, 59, 43, 43, 103, 41,
123, 10, 102, 46, 112, 117, 115, 104, 40, 10, 123, 125, 46, 104, 97, 115, 79,
119, 110, 80, 114, 111, 112, 101, 114, 116, 121, 46, 99, 97, 108, 108, 40, 100,
44, 103, 41, 63, 83, 116, 114, 105, 110, 103, 105, 102, 121, 40, 100, 91, 103,
93, 44, 101, 45, 49, 41, 58, 34, 34, 41, 59, 10, 125, 10, 114, 101, 116, 117,
114, 110, 34, 91, 34, 43, 102, 46, 106, 111, 105, 110, 40, 34, 44, 32, 34, 41,
43, 34, 93, 34, 59, 10, 125, 10, 116, 114, 121, 123, 10, 118, 97, 114, 32, 104,
61, 83, 116, 114, 105, 110, 103, 40, 100, 41, 59, 10, 105, 102, 40, 104, 38, 38,
104, 33, 61, 61, 34, 91, 111, 98, 106, 101, 99, 116, 32, 79, 98, 106, 101, 99,
116, 93, 34, 41, 114, 101, 116, 117, 114, 110, 32, 104, 59, 10, 125, 99, 97,
116, 99, 104, 40, 101, 41, 123, 125, 10, 118, 97, 114, 32, 105, 61, 91, 93, 59,
10, 118, 97, 114, 32, 106, 61, 79, 98, 106, 101, 99, 116, 46, 103, 101, 116, 79,
119, 110, 80, 114, 111, 112, 101, 114, 116, 121, 78, 97, 109, 101, 115, 40, 100,
41, 59, 10, 106, 61, 106, 46, 99, 111, 110, 99, 97, 116, 40, 79, 98, 106, 101,
99, 116, 46, 103, 101, 116, 79, 119, 110, 80, 114, 111, 112, 101, 114, 116, 121,
83, 121, 109, 98, 111, 108, 115, 40, 100, 41, 41, 59, 10, 102, 111, 114, 40,
118, 97, 114, 32, 103, 32, 105, 110, 32, 106, 41, 123, 10, 118, 97, 114, 32,
107, 61, 106, 91, 103, 93, 59, 10, 118, 97, 114, 32, 108, 61, 79, 98, 106, 101,
99, 116, 46, 103, 101, 116, 79, 119, 110, 80, 114, 111, 112, 101, 114, 116, 121,
68, 101, 115, 99, 114, 105, 112, 116, 111, 114, 40, 100, 44, 107, 41, 59, 10,
105, 102, 40, 40, 108, 61, 61, 61, 40, 118, 111, 105, 100, 32, 48, 41, 41, 41,
99, 111, 110, 116, 105, 110, 117, 101, 59, 10, 105, 102, 40, 40, 116, 121, 112,
101, 111, 102, 40, 107, 41, 61, 61, 61, 39, 115, 121, 109, 98, 111, 108, 39, 41,
41, 107, 61, 34, 91, 34, 43, 83, 116, 114, 105, 110, 103, 105, 102, 121, 40,
107, 41, 43, 34, 93, 34, 59, 10, 105, 102, 40, 34, 118, 97, 108, 117, 101, 34,
105, 110, 32, 108, 41, 123, 10, 105, 46, 112, 117, 115, 104, 40, 107, 43, 34,
58, 32, 34, 43, 83, 116, 114, 105, 110, 103, 105, 102, 121, 40, 108, 46, 118,
97, 108, 117, 101, 44, 101, 45, 49, 41, 41, 59, 10, 125, 10, 105, 102, 40, 108,
46, 103, 101, 116, 41, 123, 10, 118, 97, 114, 32, 109, 61, 83, 116, 114, 105,
110, 103, 105, 102, 121, 40, 108, 46, 103, 101, 116, 41, 59, 10, 105, 46, 112,
117, 115, 104, 40, 34, 103, 101, 116, 32, 34, 43, 107, 43, 109, 46, 115, 108,
105, 99, 101, 40, 109, 46, 105, 110, 100, 101, 120, 79, 102, 40, 39, 40, 39, 41,
41, 41, 59, 10, 125, 10, 105, 102, 40, 108, 46, 115, 101, 116, 41, 123, 10, 118,
97, 114, 32, 110, 61, 83, 116, 114, 105, 110, 103, 105, 102, 121, 40, 108, 46,
115, 101, 116, 41, 59, 10, 105, 46, 112, 117, 115, 104, 40, 34, 115, 101, 116,
32, 34, 43, 107, 43, 110, 46, 115, 108, 105, 99, 101, 40, 110, 46, 105, 110,
100, 101, 120, 79, 102, 40, 39, 40, 39, 41, 41, 41, 59, 10, 125, 10, 125, 10,
114, 101, 116, 117, 114, 110, 34, 123, 34, 43, 105, 46, 106, 111, 105, 110, 40,
34, 44, 32, 34, 41, 43, 34, 125, 34, 59, 10, 100, 101, 102, 97, 117, 108, 116,
58, 10, 114, 101, 116, 117, 114, 110, 34, 91, 99, 114, 97, 122, 121, 32, 110,
111, 110, 45, 115, 116, 97, 110, 100, 97, 114, 100, 32, 118, 97, 108, 117, 101,
93, 34, 59, 10, 125, 10, 125, 10, 102, 117, 110, 99, 116, 105, 111, 110, 32, 83,
116, 114, 105, 110, 103, 105, 102, 121, 80, 114, 111, 120, 121, 40, 99, 44, 101,
41, 123, 10, 118, 97, 114, 32, 111, 61, 116, 121, 112, 101, 111, 102, 32, 99,
59, 10, 118, 97, 114, 32, 112, 61, 123, 10, 116, 97, 114, 103, 101, 116, 58, 74,
83, 80, 114, 111, 120, 121, 71, 101, 116, 84, 97, 114, 103, 101, 116, 40, 99,
41, 44, 10, 104, 97, 110, 100, 108, 101, 114, 58, 74, 83, 80, 114, 111, 120,
121, 71, 101, 116, 72, 97, 110, 100, 108, 101, 114, 40, 99, 41, 10, 125, 10,
114, 101, 116, 117, 114, 110, 39, 91, 39, 43, 111, 43, 39, 32, 80, 114, 111,
120, 121, 32, 39, 43, 83, 116, 114, 105, 110, 103, 105, 102, 121, 40, 112, 44,
101, 45, 49, 41, 43, 39, 93, 39, 59, 10, 125, 10, 114, 101, 116, 117, 114, 110,
32, 83, 116, 114, 105, 110, 103, 105, 102, 121, 59, 10, 125, 41, 40, 41, 59, 10,
10 };

  template <>
  int NativesCollection<D8>::GetBuiltinsCount() {
    return 1;
  }

  template <>
  int NativesCollection<D8>::GetDebuggerCount() {
    return 0;
  }

  template <>
  int NativesCollection<D8>::GetIndex(const char* name) {
    if (strcmp(name, "d8") == 0) return 0;
    return -1;
  }

  template <>
  Vector<const char> NativesCollection<D8>::GetScriptSource(int index) {
    if (index == 0) return Vector<const char>(sources + 0, 1700);
    return Vector<const char>("", 0);
  }

  template <>
  Vector<const char> NativesCollection<D8>::GetScriptName(int index) {
    if (index == 0) return Vector<const char>("native d8.js", 12);
    return Vector<const char>("", 0);
  }

  template <>
  Vector<const char> NativesCollection<D8>::GetScriptsSource() {
    return Vector<const char>(sources, 1700);
  }
}  // internal
}  // v8
